/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.server.data.header;

import hope.platform.data.domain.SiteDistance;
import hope.platform.data.domain.SiteInfo;

import java.util.List;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/11 15:42
 */
public interface SiteDistanceService {
    List<SiteDistance> getSiteDistancesBySerialNumber(String serialNumber);

    void addBySiteInfo(SiteInfo siteInfo) throws Exception;

    void updateBySiteInfo(SiteInfo siteInfo) throws Exception;

    List<SiteDistance> getBySerialNumberAndDistanceBetween(String serialNumber, Double small, Double big);
}
